import { defineStore } from 'pinia'

export const useMaoxyStore = defineStore('maoxy', {
  state: () => {
    return {
      jsonData: []
    }
  },
  persist: { //  固化插件
    enabled: true, // 开启存储
  },
  getters:{},
  actions:{
    setJsonData( val ){
      this.jsonData = val;
    }
  }
})
